# -*- coding: utf-8 -*-
# coded by rohanrhu@windows

def terstenYaz(a):
    ters = []
    for i in range(len(a))[::-1]:
        ters.append(a[i])
    return "".join(ters)

def terstenYaz_2(a):
    ters = ""
    for i in range(len(a))[::-1]:
        ters = ters + a[i]
    return ters

def terstenYaz_3(a):
    ters = ""
    i = len(a) - 1,
    while i >= 0:
        ters = ters + a[i]
        i -= 1
    return ters

print terstenYaz_1("deneme")
print terstenYaz_2("deneme")
print terstenYaz_3("deneme")
